package com.shadow.study.shiro;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;

/**
 * 用户登录对象
 * */
@Data
@Accessors(chain = true)
public class LoginUser implements Serializable {

    /** 用户id */
    private Long userId;

    /** 用户姓名 */
    private String name;

    /** 密码 */
    private String password;

    /** 状态 */
    private Integer status;

    private Set<String> roles;
    private Set<String> permissions;
}
